const mongoose = require('mongoose');

//1.新建schema
var schema = new mongoose.Schema({
    _id:Object,
    imgsrc:String
});

//2.model
var slideImgModel = mongoose.model('slide',schema);

exports.slideImgModel = slideImgModel;